package cn.sxgan.gen.mappers;

import cn.sxgan.gen.model.ColumnInfo;
import cn.sxgan.gen.model.DbTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: MySql数据库基本查询
 * @Author: sxgan
 * @Date: 2025-07-14 16:22
 * @Version: 1.0
 **/

@Mapper
public interface MySqlBaseQueryMapper extends BaseMapper<DbTable> {

    List<DbTable> selectTableAndFieds(String tableName);
    
    List<ColumnInfo> selectTableColumns(String tableName, String dbName);
}
